package hibernate;

import java.util.HashSet;
import java.util.Set;

public class Role
{
	int roleID;
	String name;
	String rdescribe;
	int rAssetCreate;
	int rAssetRead;
	int rAssetUpdate;
	int rAssetDelete;
	
	int rAssetDamageCreate;
	int rAssetDamageRead;
	int rAssetDamageUpdate;
	int rAssetDamageDelete;
	
	int rAssetChangeCreate;
	int rAssetChangeRead;
	int rAssetChangeUpdate;
	int rAssetChangeDelete;
	
	int rAssetSaleCreate;
	int rAssetSaleRead;
	int rAssetSaleUpdate;
	int rAssetSaleDelete;
	
	int rAssetServiceCreate;
	int rAssetServiceRead;
	int rAssetServiceUpdate;
	int rAssetServiceDelete;	

	int rPurchaseSupplyCreate;
	int rPurchaseSupplyRead;
	int rPurchaseSupplyUpdate;
	int rPurchaseSupplyDelete;	
	int rPurchaseSupplyApprove;
	
	int rOldReport;
	int rChangeReport;
	int rServiceReport;
	int rAssetReport;

	int rCreateUser;
	int rReadUser;
	int rUpdateUser;
	int rDeleteUser;
	
	int rCreateRole;
	int rReadRole;
	int rUpdateRole;
	int rDeleteRole;	
	
	int rAssetSortDictionary;
	int rDepartmentDictionary;
		
	Set <User> users = new HashSet<User>();

	public int getRoleID() {
		return roleID;
	}

	public void setRoleID(int roleID) {
		this.roleID = roleID;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRdescribe() {
		return rdescribe;
	}

	public void setRdescribe(String rdescribe) {
		this.rdescribe = rdescribe;
	}

	public int getrAssetCreate() {
		return rAssetCreate;
	}

	public void setrAssetCreate(int rAssetCreate) {
		this.rAssetCreate = rAssetCreate;
	}

	public int getrAssetRead() {
		return rAssetRead;
	}

	public void setrAssetRead(int rAssetRead) {
		this.rAssetRead = rAssetRead;
	}

	public int getrAssetUpdate() {
		return rAssetUpdate;
	}

	public void setrAssetUpdate(int rAssetUpdate) {
		this.rAssetUpdate = rAssetUpdate;
	}

	public int getrAssetDelete() {
		return rAssetDelete;
	}

	public void setrAssetDelete(int rAssetDelete) {
		this.rAssetDelete = rAssetDelete;
	}

	public int getrAssetDamageCreate() {
		return rAssetDamageCreate;
	}

	public void setrAssetDamageCreate(int rAssetDamageCreate) {
		this.rAssetDamageCreate = rAssetDamageCreate;
	}

	public int getrAssetDamageRead() {
		return rAssetDamageRead;
	}

	public void setrAssetDamageRead(int rAssetDamageRead) {
		this.rAssetDamageRead = rAssetDamageRead;
	}

	public int getrAssetDamageUpdate() {
		return rAssetDamageUpdate;
	}

	public void setrAssetDamageUpdate(int rAssetDamageUpdate) {
		this.rAssetDamageUpdate = rAssetDamageUpdate;
	}

	public int getrAssetDamageDelete() {
		return rAssetDamageDelete;
	}

	public void setrAssetDamageDelete(int rAssetDamageDelete) {
		this.rAssetDamageDelete = rAssetDamageDelete;
	}

	public int getrAssetChangeCreate() {
		return rAssetChangeCreate;
	}

	public void setrAssetChangeCreate(int rAssetChangeCreate) {
		this.rAssetChangeCreate = rAssetChangeCreate;
	}

	public int getrAssetChangeRead() {
		return rAssetChangeRead;
	}

	public void setrAssetChangeRead(int rAssetChangeRead) {
		this.rAssetChangeRead = rAssetChangeRead;
	}

	public int getrAssetChangeUpdate() {
		return rAssetChangeUpdate;
	}

	public void setrAssetChangeUpdate(int rAssetChangeUpdate) {
		this.rAssetChangeUpdate = rAssetChangeUpdate;
	}

	public int getrAssetChangeDelete() {
		return rAssetChangeDelete;
	}

	public void setrAssetChangeDelete(int rAssetChangeDelete) {
		this.rAssetChangeDelete = rAssetChangeDelete;
	}

	public int getrAssetSaleCreate() {
		return rAssetSaleCreate;
	}

	public void setrAssetSaleCreate(int rAssetSaleCreate) {
		this.rAssetSaleCreate = rAssetSaleCreate;
	}

	public int getrAssetSaleRead() {
		return rAssetSaleRead;
	}

	public void setrAssetSaleRead(int rAssetSaleRead) {
		this.rAssetSaleRead = rAssetSaleRead;
	}

	public int getrAssetSaleUpdate() {
		return rAssetSaleUpdate;
	}

	public void setrAssetSaleUpdate(int rAssetSaleUpdate) {
		this.rAssetSaleUpdate = rAssetSaleUpdate;
	}

	public int getrAssetSaleDelete() {
		return rAssetSaleDelete;
	}

	public void setrAssetSaleDelete(int rAssetSaleDelete) {
		this.rAssetSaleDelete = rAssetSaleDelete;
	}

	public int getrAssetServiceCreate() {
		return rAssetServiceCreate;
	}

	public void setrAssetServiceCreate(int rAssetServiceCreate) {
		this.rAssetServiceCreate = rAssetServiceCreate;
	}

	public int getrAssetServiceRead() {
		return rAssetServiceRead;
	}

	public void setrAssetServiceRead(int rAssetServiceRead) {
		this.rAssetServiceRead = rAssetServiceRead;
	}

	public int getrAssetServiceUpdate() {
		return rAssetServiceUpdate;
	}

	public void setrAssetServiceUpdate(int rAssetServiceUpdate) {
		this.rAssetServiceUpdate = rAssetServiceUpdate;
	}

	public int getrAssetServiceDelete() {
		return rAssetServiceDelete;
	}

	public void setrAssetServiceDelete(int rAssetServiceDelete) {
		this.rAssetServiceDelete = rAssetServiceDelete;
	}

	public int getrPurchaseSupplyCreate() {
		return rPurchaseSupplyCreate;
	}

	public void setrPurchaseSupplyCreate(int rPurchaseSupplyCreate) {
		this.rPurchaseSupplyCreate = rPurchaseSupplyCreate;
	}

	public int getrPurchaseSupplyRead() {
		return rPurchaseSupplyRead;
	}

	public void setrPurchaseSupplyRead(int rPurchaseSupplyRead) {
		this.rPurchaseSupplyRead = rPurchaseSupplyRead;
	}

	public int getrPurchaseSupplyUpdate() {
		return rPurchaseSupplyUpdate;
	}

	public void setrPurchaseSupplyUpdate(int rPurchaseSupplyUpdate) {
		this.rPurchaseSupplyUpdate = rPurchaseSupplyUpdate;
	}

	public int getrPurchaseSupplyDelete() {
		return rPurchaseSupplyDelete;
	}

	public void setrPurchaseSupplyDelete(int rPurchaseSupplyDelete) {
		this.rPurchaseSupplyDelete = rPurchaseSupplyDelete;
	}

	public int getrPurchaseSupplyApprove() {
		return rPurchaseSupplyApprove;
	}

	public void setrPurchaseSupplyApprove(int rPurchaseSupplyApprove) {
		this.rPurchaseSupplyApprove = rPurchaseSupplyApprove;
	}

	public int getrOldReport() {
		return rOldReport;
	}

	public void setrOldReport(int rOldReport) {
		this.rOldReport = rOldReport;
	}

	public int getrChangeReport() {
		return rChangeReport;
	}

	public void setrChangeReport(int rChangeReport) {
		this.rChangeReport = rChangeReport;
	}

	public int getrServiceReport() {
		return rServiceReport;
	}

	public void setrServiceReport(int rServiceReport) {
		this.rServiceReport = rServiceReport;
	}

	public int getrAssetReport() {
		return rAssetReport;
	}

	public void setrAssetReport(int rAssetReport) {
		this.rAssetReport = rAssetReport;
	}

	public int getrCreateUser() {
		return rCreateUser;
	}

	public void setrCreateUser(int rCreateUser) {
		this.rCreateUser = rCreateUser;
	}

	public int getrReadUser() {
		return rReadUser;
	}

	public void setrReadUser(int rReadUser) {
		this.rReadUser = rReadUser;
	}

	public int getrUpdateUser() {
		return rUpdateUser;
	}

	public void setrUpdateUser(int rUpdateUser) {
		this.rUpdateUser = rUpdateUser;
	}

	public int getrDeleteUser() {
		return rDeleteUser;
	}

	public void setrDeleteUser(int rDeleteUser) {
		this.rDeleteUser = rDeleteUser;
	}

	public int getrCreateRole() {
		return rCreateRole;
	}

	public void setrCreateRole(int rCreateRole) {
		this.rCreateRole = rCreateRole;
	}

	public int getrReadRole() {
		return rReadRole;
	}

	public void setrReadRole(int rReadRole) {
		this.rReadRole = rReadRole;
	}

	public int getrUpdateRole() {
		return rUpdateRole;
	}

	public void setrUpdateRole(int rUpdateRole) {
		this.rUpdateRole = rUpdateRole;
	}

	public int getrDeleteRole() {
		return rDeleteRole;
	}

	public void setrDeleteRole(int rDeleteRole) {
		this.rDeleteRole = rDeleteRole;
	}

	public int getrAssetSortDictionary() {
		return rAssetSortDictionary;
	}

	public void setrAssetSortDictionary(int rAssetSortdictionary) {
		this.rAssetSortDictionary = rAssetSortdictionary;
	}

	public int getrDepartmentDictionary() {
		return rDepartmentDictionary;
	}

	public void setrDepartmentDictionary(int rDepartmentdictionary) {
		this.rDepartmentDictionary = rDepartmentdictionary;
	}

	public Set<User> getUsers() {
		return users;
	}

	public void setUsers(Set<User> users) {
		this.users = users;
	}
}